
#pragma warning( disable: 4049 )  /* more than 64k source lines */

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 6.00.0347 */
/* at Mon Mar 03 13:36:42 2008
 */
/* Compiler settings for \svn\fp-ce\trunk\Src\RegistryLookup\RegistryLookup.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __RegistryLookup_h__
#define __RegistryLookup_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IFileInfo_FWD_DEFINED__
#define __IFileInfo_FWD_DEFINED__
typedef interface IFileInfo IFileInfo;
#endif 	/* __IFileInfo_FWD_DEFINED__ */


#ifndef __IRegistryRead_FWD_DEFINED__
#define __IRegistryRead_FWD_DEFINED__
typedef interface IRegistryRead IRegistryRead;
#endif 	/* __IRegistryRead_FWD_DEFINED__ */


#ifndef __IRegistryWrite_FWD_DEFINED__
#define __IRegistryWrite_FWD_DEFINED__
typedef interface IRegistryWrite IRegistryWrite;
#endif 	/* __IRegistryWrite_FWD_DEFINED__ */


#ifndef __FileInfo_FWD_DEFINED__
#define __FileInfo_FWD_DEFINED__

#ifdef __cplusplus
typedef class FileInfo FileInfo;
#else
typedef struct FileInfo FileInfo;
#endif /* __cplusplus */

#endif 	/* __FileInfo_FWD_DEFINED__ */


#ifndef __GenericRequestBroker_FWD_DEFINED__
#define __GenericRequestBroker_FWD_DEFINED__

#ifdef __cplusplus
typedef class GenericRequestBroker GenericRequestBroker;
#else
typedef struct GenericRequestBroker GenericRequestBroker;
#endif /* __cplusplus */

#endif 	/* __GenericRequestBroker_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

#ifndef __IFileInfo_INTERFACE_DEFINED__
#define __IFileInfo_INTERFACE_DEFINED__

/* interface IFileInfo */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IFileInfo;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("399B8345-1499-4AB4-B9C1-D2961A340B52")
    IFileInfo : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE mimeTypeFromExtension( 
            /* [in] */ BSTR extension,
            /* [retval][out] */ BSTR *pbsMimeType) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IFileInfoVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IFileInfo * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IFileInfo * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IFileInfo * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IFileInfo * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IFileInfo * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IFileInfo * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IFileInfo * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *mimeTypeFromExtension )( 
            IFileInfo * This,
            /* [in] */ BSTR extension,
            /* [retval][out] */ BSTR *pbsMimeType);
        
        END_INTERFACE
    } IFileInfoVtbl;

    interface IFileInfo
    {
        CONST_VTBL struct IFileInfoVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IFileInfo_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IFileInfo_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IFileInfo_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IFileInfo_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IFileInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IFileInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IFileInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IFileInfo_mimeTypeFromExtension(This,extension,pbsMimeType)	\
    (This)->lpVtbl -> mimeTypeFromExtension(This,extension,pbsMimeType)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IFileInfo_mimeTypeFromExtension_Proxy( 
    IFileInfo * This,
    /* [in] */ BSTR extension,
    /* [retval][out] */ BSTR *pbsMimeType);


void __RPC_STUB IFileInfo_mimeTypeFromExtension_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IFileInfo_INTERFACE_DEFINED__ */


#ifndef __IRegistryRead_INTERFACE_DEFINED__
#define __IRegistryRead_INTERFACE_DEFINED__

/* interface IRegistryRead */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IRegistryRead;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("CBF0F58D-FF80-47D2-83AE-672CA136F02A")
    IRegistryRead : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReadValueString( 
            /* [in] */ BSTR sKeyRoot,
            /* [in] */ BSTR sKey,
            /* [in] */ BSTR sValue,
            /* [retval][out] */ BSTR *psData) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IRegistryReadVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IRegistryRead * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IRegistryRead * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IRegistryRead * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IRegistryRead * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IRegistryRead * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IRegistryRead * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IRegistryRead * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReadValueString )( 
            IRegistryRead * This,
            /* [in] */ BSTR sKeyRoot,
            /* [in] */ BSTR sKey,
            /* [in] */ BSTR sValue,
            /* [retval][out] */ BSTR *psData);
        
        END_INTERFACE
    } IRegistryReadVtbl;

    interface IRegistryRead
    {
        CONST_VTBL struct IRegistryReadVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IRegistryRead_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IRegistryRead_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IRegistryRead_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IRegistryRead_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IRegistryRead_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IRegistryRead_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IRegistryRead_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IRegistryRead_ReadValueString(This,sKeyRoot,sKey,sValue,psData)	\
    (This)->lpVtbl -> ReadValueString(This,sKeyRoot,sKey,sValue,psData)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRegistryRead_ReadValueString_Proxy( 
    IRegistryRead * This,
    /* [in] */ BSTR sKeyRoot,
    /* [in] */ BSTR sKey,
    /* [in] */ BSTR sValue,
    /* [retval][out] */ BSTR *psData);


void __RPC_STUB IRegistryRead_ReadValueString_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IRegistryRead_INTERFACE_DEFINED__ */


#ifndef __IRegistryWrite_INTERFACE_DEFINED__
#define __IRegistryWrite_INTERFACE_DEFINED__

/* interface IRegistryWrite */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IRegistryWrite;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("AC3846C5-102D-4117-B4B0-43D6AC7A511D")
    IRegistryWrite : public IDispatch
    {
    public:
    };
    
#else 	/* C style interface */

    typedef struct IRegistryWriteVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IRegistryWrite * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IRegistryWrite * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IRegistryWrite * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IRegistryWrite * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IRegistryWrite * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IRegistryWrite * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IRegistryWrite * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        END_INTERFACE
    } IRegistryWriteVtbl;

    interface IRegistryWrite
    {
        CONST_VTBL struct IRegistryWriteVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IRegistryWrite_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IRegistryWrite_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IRegistryWrite_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IRegistryWrite_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IRegistryWrite_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IRegistryWrite_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IRegistryWrite_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IRegistryWrite_INTERFACE_DEFINED__ */



#ifndef __RegistryLookupLib_LIBRARY_DEFINED__
#define __RegistryLookupLib_LIBRARY_DEFINED__

/* library RegistryLookupLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_RegistryLookupLib;

EXTERN_C const CLSID CLSID_FileInfo;

#ifdef __cplusplus

class DECLSPEC_UUID("DCB39781-E43A-4E95-A6A0-07C2EF21E349")
FileInfo;
#endif

EXTERN_C const CLSID CLSID_GenericRequestBroker;

#ifdef __cplusplus

class DECLSPEC_UUID("9E22C578-9C93-489C-BFB6-CF01E6E2E0DA")
GenericRequestBroker;
#endif
#endif /* __RegistryLookupLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


